package com.design.behavior.visitor.atguigu;

/**
 * @ProjectName: design
 * @Package: com.design.behavior.visitor.atguigu
 * @ClassName: Person
 * @Author: shenaiguo
 * @Description:
 * @Date: 2020/11/15 0015 10:52
 */
//步骤2
public abstract class Person {
//提供一个方法，让访问者可以访问

    public abstract void accept(Action action);
}
